package com.yungu.swift.assets.driver.service;

import com.yungu.swift.assets.driver.model.vo.HeatMapConfigVo;
import com.yungu.swift.assets.driver.model.vo.HeatMapInfoVo;
import com.yungu.swift.assets.driver.model.param.HeatMapConfigParam;
import com.yungu.swift.assets.driver.model.param.HeatMapInfoParam;
import com.yungu.swift.base.ResponseData;

/**
 * @author : cuixiuyin
 * @date : 2019/4/22
 */
public interface DriverHeatMapService {

    /**
     * 获得热力图相关配置
     *
     * @param configParam
     * @return
     */
    ResponseData<HeatMapConfigVo> getHeatMapConfig(HeatMapConfigParam configParam);

    /**
     * 获得热力图定位信息
     *
     * @param infoParam
     * @return
     */
    ResponseData<HeatMapInfoVo> getHeatMapInfo(HeatMapInfoParam infoParam);


    /**
     * 新增热力图定位信息
     *
     * @param appid
     * @return
     */
    ResponseData<Boolean> cacheHeatMapInfo(String appid);
}
